package org.shiwen.week5;



public class QuanXian {

    public static int publicResult(int a, int b){
        return a+b;
    }

    static int result(int a, int b){
        return a+b;
    }

    private static int privateResult(int a, int b){
        return a+b;
    }

    public static void main(String[] args) {
        System.out.println(publicResult(1, 2));
        System.out.println(result(1, 2));
        System.out.println(privateResult(1, 2));
    }
}



